package cn.stronglink.asset.module.dam.entity.dev;

import java.io.Serializable;

/**
 * 机柜名称，ip,  rackCode,   使用u高， 未使用u高， 设备个数（在架） ，  使用量
 */
public class RackInfo implements Serializable{
	private static final long serialVersionUID = 1L;
	/**属性  SELECT rack.id_, rack.asset_name,
		model.u_height as totalU, sum(m.u_height) as usedU,
		sensor.id_ as sensorId
        */
    private long rackId;
    private long cabinetId;
    private String rackNo;
    private int doorStatus;
    
	private String rackName;
    private String ip;
    private String rackConverCode;
    private int usedU;
    private int totalU;//计算使用量
    private int emptyU;
    private int assetCount;//拥有的资产数量
    
    public int getDoorStatus() {
		return doorStatus;
	}
	public void setDoorStatus(int doorStatus) {
		this.doorStatus = doorStatus;
	}
	public String getRackNo() {
		return rackNo;
	}
	public void setRackNo(String rackNo) {
		this.rackNo = rackNo;
	}
	public String getIp() {
		return ip;
	}
	public void setIp(String ip) {
		this.ip = ip;
	}
	public String getRackConverCode() {
		return rackConverCode;
	}
	public void setRackConverCode(String rackConverCode) {
		this.rackConverCode = rackConverCode;
	}
	public int getEmptyU() {
		return emptyU;
	}
	public void setEmptyU(int emptyU) {
		this.emptyU = emptyU;
	}
	public int getAssetCount() {
		return assetCount;
	}
	public void setAssetCount(int assetCount) {
		this.assetCount = assetCount;
	}
    
    public long getRackId() {
		return rackId;
	}
	public void setRackId(long rackId) {
		this.rackId = rackId;
	}
	public String getRackName() {
		return rackName;
	}

	public void setRackName(String rackName) {
		this.rackName = rackName;
	}

	public int getTotalU() {
		return totalU;
	}

	public void setTotalU(int totalU) {
		this.totalU = totalU;
	}

	public int getUsedU() {
		return usedU;
	}

	public void setUsedU(int usedU) {
		this.usedU = usedU;
	}
	public long getCabinetId() {
		return cabinetId;
	}
	public void setCabinetId(long cabinetId) {
		this.cabinetId = cabinetId;
	}
}